<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<script type="text/javascript" src="<?php echo __ROOT__ ?>/QM/Data/Tpl/Js/jquery.js"></script>
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
			font-family: '微软雅黑';
		}
		a{
			color: blue;
			text-decoration: none;
		}
		div.box{
			width: 450px;
			height: 120px;
			border: 2px solid #E99132;
			border-radius: 5px;
			margin-left: 10px;
			margin-top: 10px;
		}
		div.box h2{
			width: 100%;
			height:30px;
			background: #E99132;
			font-size: 14px;
			line-height: 30px;
			text-indent: 1em;
			color: #fff;
		}
		div.con{
			margin-left: 8px;
			margin-top: 8px;

		}
		.gourl{
			margin-top: 20px;
			text-align: center;
		}
	</style>
</head>
<body>
	
	<div class="box">
		<h2>操作成功</h2>
		<div class="con">
			<?php echo $msg ?>
		</div>
		<div class="gourl">
			还有<span><?php echo $time ?></span>秒<a href="javascript:<?php echo $url ?>">&nbsp;[跳转]</a>
		</div>
	</div>
</body>
</html>
<script type="text/javascript">

	setInterval(run,1000);

	var i = <?php echo $time ?>;

	function run(){
		if(i >0){
			i--;
			$('span').html(i);
		}
	}

	setTimeout(go,<?php echo $time * 1000 ?>);

	function go(){
		<?php echo $url ?>
	}
</script>